package cn.easy.mortgage.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import cn.easy.mortgage.domain.LoanRequest;

import java.util.List;

public interface LoanRequestDao extends PagingAndSortingRepository<LoanRequest, String>, JpaSpecificationExecutor<LoanRequest> {

    List<LoanRequest> findByChannelId(String channelId);
}
